package com.rk.pethome.user.Service;

import com.rk.pethome.basic.util.AjaxResult;

import java.io.UnsupportedEncodingException;
import java.util.HashMap;
import java.util.Map;

public interface IWechatService {

    /**
     * 跳转到绑定界面，或者直接的登录
     * 通过code获取token
     * @param code
     * @return
     */
    Map<String, Object> gotoBinderOrLogin(String code) throws UnsupportedEncodingException;

    /**
     * 绑定用户
     * @param param
     * @return
     */
    AjaxResult binder(HashMap<String,String> param);



}
